module.exports = (app) => {
  const { router, controller, middleware: { jwtVerify, lastTime} } = app;
  
  // router.post("/admin/role/add", jwtVerify(), lastTime(), controller.role.add);
  // router.post("/admin/role/edit", jwtVerify(), lastTime(), controller.role.edit);
  // router.get("/admin/role/list", jwtVerify(), lastTime(), controller.role.list);
  // router.get("/admin/role/delete", jwtVerify(), lastTime(), controller.role.delete);
  router.get('/admin/video', controller.video.serveVideo);
  router.get('/admin/getFlvHeader', controller.video.getFlvHeader);
};
